var indexApp = angular.module('indexApp', []);

indexApp.controller('MenuController', function($scope) {
	$scope.curMenu = "stock";
    $scope.menuClick = function(menu){
    	$scope.curMenu = menu;
    }
}).controller('HeaderController', function($scope) {
	
	//关于
	$scope.showAbout = function(){
		layer.open({
		  type: 2,
		  title:'（关于）花甲信息飞擎管理系统',
		  area: ['400px', '300px'],
		  fix: false, //不固定
		  maxmin: false,
		  content: 'about.html'
		});
	};
	
	//退出
	$scope.signOut = function(){
		alert("关于");
	};
});
